Creation information for a depth stencil state. More...
#include <kanzi/gfx/create_info.hpp>
Classes | |
| struct | StencilOperationState |
| Describes a stencil operation state. More... | |
Public Types | |
| using | HandleType |
| Depth stencil state handle. | |
Public Attributes | |
| StencilOperationState | backState |
| The stencil operation for the back. | |
| ComparisonFunction | depthComparison |
| The comparison function to use for depth testing. | |
| bool | depthEnabled |
| Indicates whether depth testing is enabled. | |
| bool | depthWriteEnabled |
| Indicates whether depth writing is enabled. | |
| StencilOperationState | frontState |
| The stencil operation for the front. | |
| bool | stencilEnabled |
| Indicates whether stencil testing is enabled. | |
Public Attributes inherited from kanzi::gfx::BaseCreateInfo | |
| string_view | name |
| The name of the graphics object, useful for debugging. | |
Creation information for a depth stencil state.
Depth stencil state handle.
| bool kanzi::gfx::DepthStencilStateCreateInfo::depthEnabled |
Indicates whether depth testing is enabled.
| bool kanzi::gfx::DepthStencilStateCreateInfo::depthWriteEnabled |
Indicates whether depth writing is enabled.
| ComparisonFunction kanzi::gfx::DepthStencilStateCreateInfo::depthComparison |
The comparison function to use for depth testing.
| bool kanzi::gfx::DepthStencilStateCreateInfo::stencilEnabled |
Indicates whether stencil testing is enabled.
| StencilOperationState kanzi::gfx::DepthStencilStateCreateInfo::backState |
The stencil operation for the back.
| StencilOperationState kanzi::gfx::DepthStencilStateCreateInfo::frontState |
The stencil operation for the front.